package com.phuc.game.andPuzzle.sprite;

public class Cell {

	int x;
	int y;
	int cellIndex;
	boolean isFree;
	
	public Cell(int x, int y, int index) {
		this.x = x + 22;
		this.y = y + 18;
		this.cellIndex = index;
	}

	/**
	 * @return the isFree
	 */
	public boolean isFree() {
		return isFree;
	}

	/**
	 * @param isFree the isFree to set
	 */
	public void setFree(boolean isFree) {
		this.isFree = isFree;
	}

	/**
	 * @return the x
	 */
	public int getX() {
		return x;
	}

	/**
	 * @return the y
	 */
	public int getY() {
		return y;
	}

	/**
	 * @return the cellIndex
	 */
	public int getCellIndex() {
		return cellIndex;
	}
	
}
